package com.bosicloud.cmb.ibp.aws.adapter.service;

import com.amazonaws.services.ecs.model.Service;
import com.bosicloud.cmb.ibp.aws.adapter.commom.dto.DeployeAppParamDTO;
import com.bosicloud.cmb.ibp.aws.adapter.commom.dto.DeployeAppResponseDTO;
import com.bosicloud.cmb.ibp.aws.adapter.commom.dto.GetServiceInfoDTO;

import java.util.List;

/**
 * @author Jack Peng / ziliang.peng@bosicloud.com
 */
public interface DeployEcsService {

    /**
     * 部署应用
     * @param params 参数
     * @return
     */
    DeployeAppResponseDTO deployeApps(DeployeAppParamDTO params);

    /**
     * 应用信息
     * @param params 参数
     * @return
     */
    List<Service> serviceInfo(GetServiceInfoDTO params);
}
